home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 15761 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  3.3 KB

  1. Path: mayne.ugrad.cs.ubc.ca!not-for-mail
  2. From: c2a192@ugrad.cs.ubc.ca (Kazimir Kylheku)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Are you really my colleagues?!?
  5. Date: 21 Apr 1996 10:35:27 -0700
  6. Organization: Computer Science, University of B.C., Vancouver, B.C., Canada
  7. Message-ID: <4ldrkvINNlhc@mayne.ugrad.cs.ubc.ca>
  8. References: <317299C2.167E@gi.alaska.edu> <4l1228INN9hs@mayne.ugrad.cs.ubc.ca> <ElRx1euSMUE4Bmjzgx@transarc.com> <4lcn70$cq7@news.aloha.com>
  9. NNTP-Posting-Host: mayne.ugrad.cs.ubc.ca
  10.  
  11. In article <4lcn70$cq7@news.aloha.com>, Jimen Ching <jching@aloha.com> wrote:
  12.  >Jim_Mann@transarc.com wrote:
  13.  >>If you think Shakespeare is "old English," you obviously don't know
  14.  >>much about the subject. And, most of the physicists I know aren't
  15.  >>illiterate; they do know Shakespeare. (I have a physics background
  16.  >>myself and re-read Shakespeare frequently.)
  17.  >
  18.  >Ok, you caugh me.  The adjective completely slipped my mind so I just
  19.  >typed in 'old'.  I should have just left it out.  Go replace 'old'
  20.  >with whatever adjective describes Shakespearian literature.
  21.  >
  22.  >>appropriate to the topic. "How do I write to a serial port on a PC?"
  23.  >>is being done in C is clearly almost incidental. 
  24.  >
  25.  >What if the question was "How do I write to a serial port on a PC in C?"
  26.  >Would that still make C incidental?  When I read someones question
  27.  
  28. You can't write to a serial port in C. If the serial port is memory mapped, you
  29. can cast an integer representing its address to a pointer. The mapping is
  30. implementation defined, as is certainly the behavior of the serial port.
  31.  
  32. On some computers (e.g. PC), the port belongs to an IO address space that isn't
  33. even accessible from the C program via _any_ pointer value.
  34.  
  35.  >in c.l.c, I always assumed that the author wants the solution/answer
  36.  >that applies only to C.  Otherwise, why did they post to c.l.c in
  37.  >the first place?  If they wanted a Pascal solution, did they think
  38.  >that posting to c.l.c will get them the answer?  Is that logical?
  39.  
  40. Not at all. Serial port questions are off topic to comp.lang.pascal too. Pascal
  41. has no methods to access serial ports either.
  42.  
  43. The only appropriate place to ask is in an operating-system specific group, and
  44. failing that, a hardware-specific group.
  45.  
  46.  >Let's face it.  There's no straight formula to determine if some
  47.  >question is inappropriate.  If it was *that* simple, I'm sure even
  48.  
  49. No there isn't. That's why all kinds of questions arise. Sometimes they get
  50. answered, sometimes they are so off the wall they get flamed. And other times,
  51. the only answer is to point to the FAQ or to an extremely appropriate newsgroup
  52. where the user is likely to discover happy hunting grounds.
  53.  
  54.  >these newbies could determine that.  This is all I'm saying.  My solution
  55.  >to this problem is to either ignore the post altogether or email your
  56.  >anger to the author.  Why must I see it?
  57.  
  58. So that other potential spammers see it also, unfortunately. Ignoring the post
  59. is not useful. For one thing, it would take a concerted effort of meny
  60. individuals to all ignore the posting. Secondly, the questioner will simply
  61. repeat his question. 
  62.  
  63. If you don't want to see it, get a threaded newsreader like 'trn' and just junk
  64. a whole thread whose root is an off-topic question. Or go to
  65. comp.lang.c.moderated, a fine newsgroup where you don't have to read any crap
  66. at all.
  67.